//
//  ViewControllerB.m
//  TransValue
//
//  Created by student on 16/2/25.
//  Copyright © 2016年 NIIT. All rights reserved.
//

#import "ViewControllerB.h"

@interface ViewControllerB ()
@property (weak, nonatomic) IBOutlet UILabel *resultLabel;

@end

@implementation ViewControllerB

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view
    
    self.resultLabel.text = [NSString stringWithFormat:@"邮箱：%@ \n用户名：%@ \n密码：%@\n%@",self.email,self.username,self.password,[self.email isEqualToString:@"123456@qq.com"]&&[self.username isEqualToString:@"chenjian"]&&[self.password isEqualToString:@"123456"]?@"登陆成功":@"登录失败"];
     
}
- (IBAction)candelbtnPressed:(id)sender
{
    [self dismissViewControllerAnimated:YES completion:nil];
}



@end
